<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>角色扮演首页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Roboto', 'Microsoft YaHei', Arial, sans-serif;
            background: #fafafb;
            margin: 0;
            color: #222;
        }

        .container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 24px;
        }

        .main {
            margin-left: 0;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }

        .header-title {
            font-size: 2rem;
            font-weight: bold;
        }

        .header-desc {
            color: #888;
            margin-top: 8px;
            font-size: 1rem;
        }

        .create-btn {
            background: #6c4ae4;
            color: #fff;
            border: none;
            border-radius: 24px;
            padding: 10px 28px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s;
        }

        .create-btn:hover {
            background: #4a2bbd;
        }

        .section-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 18px;
            margin-top: 32px;
        }

        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            position: relative;
            transition: box-shadow 0.2s;
            cursor: pointer;
        }

        .card:hover {
            box-shadow: 0 6px 24px rgba(108, 74, 228, 0.12);
        }

        .card-img {
            width: 100%;
            height: 520px;
            object-fit: cover;
            display: block;
        }

        .card-info {
            padding: 18px 20px 16px 20px;
        }

        .card-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .card-desc {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.5;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        @media (max-width: 900px) {
            .card-grid {
                grid-template-columns: 1fr 1fr;
            }

            .sidebar {
                width: 180px;
            }

            .main {
                margin-left: 200px;
            }
        }

        @media (max-width: 600px) {
            .card-grid {
                grid-template-columns: 1fr;
            }

            .sidebar {
                display: none;
            }

            .main {
                margin-left: 0;
            }
        }
    </style>
</head>
<body>
<div class="main container">
    <div class="header">
        <div>
            <div class="header-title">角色扮演</div>
            <div class="header-desc">
                支持通过简单的头像和配置参数维度信息，在角色对话过程中实现人设还原、主动话题引导、剧情推进等能力。
            </div>
        </div>
        <button class="create-btn">创建应用</button>
    </div>
    <div class="section-title">精选应用</div>
    <div class="card-grid">
        <div class="card" onclick="location.href='hlbt.html'" style="cursor:pointer;">
            <img class="card-img" src="../src/main/resources/imgs/hlbt.png" alt="哈利波特">
            <div class="card-info">
                <div class="card-title">哈利波特</div>
                <div class="card-desc">哟呀~~你在做什么呢?</div>
            </div>
        </div>
        <div class="card">
            <img class="card-img" src="" alt="小婉">
            <div class="card-info">
                <div class="card-title">小婉</div>
                <div class="card-desc">亲爱的，今天你想我了吗？【想聊天、倾诉都可以哦】</div>
            </div>
        </div>
        <div class="card">
            <img class="card-img" src="" alt="心理陪伴机器人">
            <div class="card-info">
                <div class="card-title">心理陪伴机器人</div>
                <div class="card-desc">您好，很高兴见到您，我是心理陪伴机器人。</div>
            </div>
        </div>
        <div class="card">
            <img class="card-img" src="" alt="少年">
            <div class="card-info">
                <div class="card-title">少年</div>
                <div class="card-desc">你好呀，今天有什么新鲜事吗？</div>
            </div>
        </div>
        <div class="card">
            <img class="card-img" src="" alt="古风君">
            <div class="card-info">
                <div class="card-title">古风君</div>
                <div class="card-desc">在下古风君，有何指教？</div>
            </div>
        </div>
        <div class="card">
            <img class="card-img" src="" alt="冒险家">
            <div class="card-info">
                <div class="card-title">冒险家</div>
                <div class="card-desc">准备好一起冒险了吗？</div>
            </div>
        </div>
    </div>
</div>
</body>
</html>